import 'osc_notice.dart';

///无用，统一用 osc_user_info_entity
/*class OscMyInfosEntity {
	int gender;
	String city;
	String joinTime;
	int fansCount;
	List<String> expertise;
	String portrait;
	List<String> platforms;
	int uid;
	String lastLoginTime;
	String province;
	String name;
	int followersCount;
	int favoriteCount;
	OscNotice notice;

	OscMyInfosEntity({this.gender, this.city, this.joinTime, this.fansCount, this.expertise, this.portrait, this.platforms, this.uid, this.lastLoginTime, this.province, this.name, this.followersCount, this.favoriteCount, this.notice});

	OscMyInfosEntity.fromJson(Map<String, dynamic> json) {
		gender = json['gender'];
		city = json['city'];
		joinTime = json['joinTime'];
		fansCount = json['fansCount'];
		expertise = json['expertise']?.cast<String>();
		portrait = json['portrait'];
		platforms = json['platforms']?.cast<String>();
		uid = json['uid'];
		lastLoginTime = json['lastLoginTime'];
		province = json['province'];
		name = json['name'];
		followersCount = json['followersCount'];
		favoriteCount = json['favoriteCount'];
		notice = json['notice'] != null ? new OscNotice.fromJson(json['notice']) : null;
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['gender'] = this.gender;
		data['city'] = this.city;
		data['joinTime'] = this.joinTime;
		data['fansCount'] = this.fansCount;
		data['expertise'] = this.expertise;
		data['portrait'] = this.portrait;
		data['platforms'] = this.platforms;
		data['uid'] = this.uid;
		data['lastLoginTime'] = this.lastLoginTime;
		data['province'] = this.province;
		data['name'] = this.name;
		data['followersCount'] = this.followersCount;
		data['favoriteCount'] = this.favoriteCount;
		if (this.notice != null) {
      data['notice'] = this.notice.toJson();
    }
		return data;
	}
}*/
